Skip to content

Conversation

@laurit
Copy link
Contributor

@laurit laurit commented Aug 25, 2025

Introduce custom plugins that override quarkus classes that use apis removed in gradle9. Instead of applying the whole plugin we only run the model building phase, since that seems to be the only thing needed to get the tests running.

@laurit laurit requested a review from a team as a code owner August 25, 2025 17:26
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @brunobat in case you hear of any better way to do this

@laurit laurit merged commit 7cbd16e into open-telemetry:main Aug 26, 2025
247 of 249 checks passed
@laurit laurit deleted the quarkus-tests-gradle9 branch August 26, 2025 15:46
@brunobat
Copy link
Contributor

brunobat commented Aug 26, 2025

This seems a bit complex.
You want to run the Quarkus IT test with Gradle 9 and this is the only way... This will likely be needed until Quarkus 4.x (No schedule yet)

@brunobat
Copy link
Contributor

brunobat commented Aug 26, 2025

Ok, good news.
@laurit, @trask, Upcoming Quarkus 3.26 already has support for Gradle 9.
You can access a release preview already. This is available since version 3.26.0.CR1. See: quarkusio/quarkus#48524 and quarkusio/quarkus#49256

@laurit
Copy link
Contributor Author

laurit commented Aug 26, 2025

@brunobat we wish to test old versions. Ideally we'd like to do this without using any quarkus specific gradle plugins at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants